﻿
using System;

namespace Model
{
    public class EquipPurchaseInfo : BaseModel
    {
        public const string CONST_PO_NUMBER = "POReferenceNumber";
        public virtual int PurchaseId {get; set;}
        public virtual int CompanyId {get; set;}
        public virtual DateTime PurchaseDate {get; set;}
        public virtual string PurchaseDescription { get; set; }
        public virtual float UnitPrice { get; set; }
        public virtual DateTime StartDate {get; set;}
        public virtual DateTime EndDate { get; set; }
        public virtual string ContractDescription { get; set; }
        public virtual bool IsWarranty { get; set; }
        public virtual bool IsBuiltIn{ get; set;}
        public virtual int Quantity{ get; set;}
        public virtual int HaveId{ get; set;}
        
        public virtual string POReferenceNumber{ get; set;}
        public virtual Supplier Supplier { get; set; }
        public override int Key
        {
            get { return this.PurchaseId; }
        }
        
    }
}
